const express = require('express')
const router = express.Router()


const userHandle = require('../router_handle/user.js')

// 注册新用户
router.post('/reguser', userHandle.reguser)

// 登录
router.post('/login', userHandle.login)

router.get('/testGet', (req, res) => {
    res.send({
        msg: '接口接通',
        status: 'ok'
    })
})


module.exports = router